// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
//element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
Vue.use(ElementUI)
//http
import VueResource from 'vue-resource'
Vue.use(VueResource)
Vue.http.options.root = process.env.API_ROOT_URL
console.log(Vue.http.options.root)
console.log(process.env.RTMAP_API_ROOT_URL)
//全局动画效果
import Transition from '@/components/commons/Transition'
Vue.component('vTransition', Transition);
import VueQArt from 'vue-qart'
Vue.use(VueQArt)
Vue.config.productionTip = false
Vue.http.options.emulateJSON = true;
import '@/assets/base/reset.css'
import './style/iconfont.css'
import './style/index.css'
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
})